<template>
  <submit-record v-if="judgeId"
                 :judge-id="judgeId"/>
</template>

<script lang="ts" setup>

import {useRoute} from "vue-router";
import SubmitRecord from "@/components/SubmitRecord/SubmitItem.vue"

const judgeId = ref()
onBeforeMount(async () => {
 judgeId.value = useRoute().params.id;
})

</script>

<style scoped>

</style>
